package com.college.heyuhua.service;

import com.college.heyuhua.entity.Newsinfo;
import com.college.heyuhua.model.Newstyle;

import java.util.List;

/**
 * Created by 赵东坡 on 2018/12/31.
 * Time:13:49
 * 宇宙无敌赵牛逼，祈求永无bug
 */
public interface INewService {

    public List<Newsinfo> homepagefour();

    public Newsinfo getOneMessage(Long nid);

    public List<Newsinfo> getNewsBynewsstyleid(int  newsstyleid);

    boolean deletestyle(String nsid);

    List<Newstyle> getstylenews();

    boolean addstyle(String stylename);

    boolean addnewsinfo(String ntitle,String ncontent,String newsstyleid);
}
